﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LimaLims.Application.Service.Role
{
    public interface ISysMenuService
    {
        Task AddMenu(AddMenuInput input);

        Task DeleteMenu(long menuId);

        Task<List<string>> GetLoginPermissionList(long userId);

        Task<List<string>> GetAllPermissionList();

        Task<List<ElementTreeNode>> GetLoginMenusElement(long userId);

        Task<dynamic> GetMenu(long menuId);

        Task<dynamic> GetMenuList([FromQuery] MenuPageInput input);

        Task<dynamic> GetMenuTree();


        Task<dynamic> TreeForGrant();

        Task UpdateMenu(UpdateMenuInput input);
    }
}
